argh, actually call the newly added private gtk_paned_calc_position()
authorMichael Natterer <mitch@imendio.com>
Fri, 7 Nov 2008 16:50:29 +0000 (16:50 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Fri, 7 Nov 2008 16:50:29 +0000 (16:50 +0000)
2008-11-07  Michael Natterer  <mitch@imendio.com>

* gtk/gtkpaned.c: argh, actually call the newly added private
gtk_paned_calc_position() instead of the deprecated public
version.

svn path=/trunk/; revision=21774

ChangeLog
gtk/gtkpaned.c

index c725e643d6ce9893e1260f67cfb14749b8460ed3..7954e9559a376437d9bc9f410d355d2796002fea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-07  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkpaned.c: argh, actually call the newly added private
+       gtk_paned_calc_position() instead of the deprecated public
+       version.
+
 2008-11-07  Michael Natterer  <mitch@imendio.com>
 
        Bug 553586 – Add orientation API to GtkPaned
index a1ed20c1bcda78e9710e107d90c6527e5e9aa692..b774937f516bde296a666edb8fa9fcc870c5cd8f 100644 (file)
@@ -843,12 +843,12 @@ gtk_paned_size_allocate (GtkWidget     *widget,
 
       if (paned->priv->orientation == GTK_ORIENTATION_HORIZONTAL)
         {
-          gtk_paned_compute_position (paned,
-                                      MAX (1, widget->allocation.width
-                                           - handle_size
-                                           - 2 * border_width),
-                                      child1_requisition.width,
-                                      child2_requisition.width);
+          gtk_paned_calc_position (paned,
+                                   MAX (1, widget->allocation.width
+                                        - handle_size
+                                        - 2 * border_width),
+                                   child1_requisition.width,
+                                   child2_requisition.width);
 
           paned->handle_pos.x = widget->allocation.x + paned->child1_size + border_width;
           paned->handle_pos.y = widget->allocation.y + border_width;
@@ -872,12 +872,12 @@ gtk_paned_size_allocate (GtkWidget     *widget,
         }
       else
         {
-          gtk_paned_compute_position (paned,
-                                      MAX (1, widget->allocation.height
-                                           - handle_size
-                                           - 2 * border_width),
-                                      child1_requisition.height,
-                                      child2_requisition.height);
+          gtk_paned_calc_position (paned,
+                                   MAX (1, widget->allocation.height
+                                        - handle_size
+                                        - 2 * border_width),
+                                   child1_requisition.height,
+                                   child2_requisition.height);
 
           paned->handle_pos.x = widget->allocation.x + border_width;
           paned->handle_pos.y = widget->allocation.y + paned->child1_size + border_width;
@@ -1501,7 +1501,7 @@ gtk_paned_set_position (GtkPaned *paned,
        * if the total allocation changes at the same time
        * as the position, the position set is with reference
        * to the new total size. If only the position changes,
-       * then clamping will occur in gtk_paned_compute_position()
+       * then clamping will occur in gtk_paned_calc_position()
        */
 
       paned->child1_size = position;